

#ifndef ISO14443p3_h__
#define ISO14443p3_h__

#include "WCI.h"

struct ISO14443AInfoTag 
{	
	unsigned char atqa[2];
	unsigned char sak;
	unsigned char ulen;
	unsigned char uid[12];
};
typedef struct ISO14443AInfoTag ISO14443AInfo_T;

void ISO14443A_SetMode(WCI* wci);

int ISO14443A_RequestA(WCI * wci, unsigned char atqa[2]);

int ISO14443A_WakeupA(WCI * wci, unsigned char atqa[2]);

int ISO14443A_Halt(WCI * wci, unsigned char cid);

int ISO14443A_Activate(WCI * wci, unsigned char req, ISO14443AInfo_T* info);

#endif // ISO14443p3_h__

